Finding Equation of a Curve